<link rel="stylesheet" href="/assets/home/css/search.css">
<div class="mui-input-row mui-search">
    <form method="get">
        <div class="mui-input-row mui-search">
            <input type="search" name="keywords" class="mui-input-clear" placeholder="{$keyword ? $keyword : '请输入课程名称'}"  autocomplete />
        </div>
    </form>
</div>
<ul class="mui-table-view">
    {foreach $subjectList as $item}
    <li class="mui-table-view-cell mui-media">
        <a href="{:url('/home/subject/subject/info',['subjectid' => $item['id']])}">
            <img class="mui-media-object mui-pull-left" src="{$item['thumb_cdn']}">
            <div class="mui-media-body">
                <p class="subtitle">{$item['title']}</p>
                <div class="tips">
                    <p class="price">￥ {$item['price']}</p>
                    <span class="mui-icon mui-icon-star good">{$item['like_count']}</span>
                </div>
                <p class='mui-ellipsis'> {$item['content']}</p>
            </div>
        </a>
    </li>
    {/foreach}
</ul>

{include file='common/footer'/}